package com.py.inrejected.domain;

import com.ruoyi.common.core.annotation.Excel;
import com.ruoyi.common.core.web.domain.BaseEntity;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

/**
 * 附件对象 py_attachment
 * 
 * @author 童佳
 * @date 2024-11-27
 */
public class PyAttachment extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 附件id */
    private Integer attachmentId;

    /** 业务类型 */
    @Excel(name = "业务类型")
    private String businessType;

    /** 归属编号 */
    @Excel(name = "归属编号")
    private String ownershipNumber;

    /** 文件名称 */
    @Excel(name = "文件名称")
    private String fileName;

    /** 大小 */
    @Excel(name = "大小")
    private Long size;

    /** 文件路径 */
    @Excel(name = "文件路径")
    private String filePath;

    public void setAttachmentId(Integer attachmentId) 
    {
        this.attachmentId = attachmentId;
    }

    public Integer getAttachmentId() 
    {
        return attachmentId;
    }
    public void setBusinessType(String businessType) 
    {
        this.businessType = businessType;
    }

    public String getBusinessType() 
    {
        return businessType;
    }
    public void setOwnershipNumber(String ownershipNumber) 
    {
        this.ownershipNumber = ownershipNumber;
    }

    public String getOwnershipNumber() 
    {
        return ownershipNumber;
    }
    public void setFileName(String fileName) 
    {
        this.fileName = fileName;
    }

    public String getFileName() 
    {
        return fileName;
    }
    public void setSize(Long size) 
    {
        this.size = size;
    }

    public Long getSize() 
    {
        return size;
    }
    public void setFilePath(String filePath) 
    {
        this.filePath = filePath;
    }

    public String getFilePath() 
    {
        return filePath;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("attachmentId", getAttachmentId())
            .append("businessType", getBusinessType())
            .append("ownershipNumber", getOwnershipNumber())
            .append("fileName", getFileName())
            .append("size", getSize())
            .append("filePath", getFilePath())
            .toString();
    }
}
